#include <iostream>
using namespace std;
int main()
{
    string studentName;
    cin>>studentName;
    cout<<"Hello, C++!\n";
    cout<<"My name is "<<studentName<<".";
}